package com.concurrent.sample.business.trade.service;

import com.concurrent.sample.business.event.param.trade.TradeExecReportDTO;
import com.concurrent.sample.business.trade.entity.TradeOrderEntity;
import java.util.List;

public interface TradeOrderService {

  void save(List<TradeOrderEntity> orderEntities);

  TradeOrderEntity updateByExecutionReport(TradeExecReportDTO execReport);

  TradeOrderEntity getById(Long id);

  List<TradeOrderEntity> getByIds(List<Long> ids);

  TradeOrderEntity getByEventId(Long eventId);

}
